﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>SharePoint Search Bench AJAX Test Page</title>

    <script src="jquery.js" type="text/javascript"></script>

    <script src="ajax.js" type="text/javascript"></script>

    <script src="searchproxy.js" type="text/javascript"></script>

    <script src="spsearchbench.js" type="text/javascript"></script>

    <script src="execute.js" type="text/javascript"></script>

    <link rel="Stylesheet" href="styles.css" />
</head>
<body>
    <div id="wrapper">
        <h1>
            SharePoint Search Bench AJAX Test Page</h1>
        <div id="forms">
            <div id="left">
                <h3>
                    Keyword Query</h3>
                <p>
                    <strong>Keywords:</strong><br />
                    <input id="keywords" value="test" />
                </p>
                <p>
                    <strong>Display Fields: </strong>
                    <br />
                    <input id="fields" value="Title, Path, Size, Author, Rank" />
                </p>
                <p>
                    <button onclick="searchClick(this)">
                        Execute</button></p>
            </div>
            <div id="right">
                <h3>
                    Full Text Query</h3>
                <p>
                    <strong>Query:</strong><br />
                    <textarea rows="6" id="queryText">select Title, Path, Size, Author, Rank from scope() where Freetext(DEFAULTPROPERTIES, 'test')</textarea>
                </p>
                <p>
                    <button onclick="fullTextSearchClick(this)">
                        Execute Full Text</button></p>
            </div>
            <div id="bottom" style="clear: both;">
                <p>
                <strong>Service Url:</strong>&nbsp;
                <input size="40" id="url" value="http://test/_vti_bin/search.asmx" />&nbsp;&nbsp;
                    <strong>Start At:</strong>&nbsp;<input size="4" maxlength="4" id="start" value="1" />&nbsp;&nbsp;<strong>Row
                        Count:</strong>&nbsp;
                    <input maxlength="4" id="count" size="4" value="50" /></p>
            </div>
        </div>
        <div id="output">
        </div>
    </div>
</body>
</html>
